package com.itheima.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface CheckGroupCheckItemMapper {
    /**
     * 把每个键值对存进t_checkgroup_checkitem表
     * @param
     */
    void add(Integer checkGroupId, Integer integer);
    /**
     * 根据id删除检查组的数据
     * @param id
     * @return
     */
    @Delete("delete from t_checkgroup_checkitem where checkgroup_id = #{id}")
    void deleteById(Integer id);
}
